// const path = require('path')
module.exports = ({ file }) => {
  //   const base = file.dirname.includes(path.join('node_modules', 'vant'))
  //     ? 375
  //     : 750
  return {
    plugins: {
      'postcss-px-to-viewport': {
        viewportWidth: 375
      }
    }
  }
}

// const path = require('path')

// module.exports = ({ file }) => {
//   const base = dirname.includes(path.join('node_modules', 'vant')) ? 375 : 375

//   return {
//     plugins: {
//       'postcss-px-to-viewport': {
//         viewportWidth: 375
//       }
//     }
//   }
// }
